package com.nervenets.web.controller;

import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import javax.validation.constraints.Positive;
import java.io.Serializable;

@Data
public class IdParams implements Serializable {
    @ApiModelProperty("目标ID")
    @Positive(message = "目标ID必须为正整数")
    private long targetId;
}
